home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 8174 / 8174.xpi / chrome / antbar.jar / content / xul / options.xul next >
Extensible Markup Language  |  2009-12-30  |  4KB  |  81 lines

  1. <?xml version="1.0"?>
  2. <!-- 
  3.      options.xul
  4.      firefox
  5.      
  6.      Created by Zak on 2008-06-17.
  7.      Copyright 2008-2009 Ant.com. All rights reserved.
  8.   -->
  9.  
  10. <!DOCTYPE prefwindow SYSTEM "chrome://antbar/locale/antoptions.dtd">
  11.  
  12. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  13. <?xml-stylesheet href="chrome://antbar/skin/antbar.css"?>
  14.  
  15. <prefwindow id="antBarPrefs"
  16.             title="&antBarPrefs.title;"
  17.             windowtype="Ant:Preferences"
  18.             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  19.             style="&preferences.window.size;">
  20.  
  21.   <script type="application/x-javascript" src="chrome://antbar/content/lib/global.js"/>
  22.   <script type="application/x-javascript" src="chrome://antbar/content/lib/array.js"/>
  23.   <script type="application/x-javascript" src="chrome://antbar/content/lib/lib.js"/>
  24.   <script type="application/x-javascript" src="chrome://antbar/content/lib/lang.js"/>
  25.   <script type="application/x-javascript" src="chrome://antbar/content/prefs/prefs.js"/>
  26.   <script type="application/x-javascript" src="chrome://antbar/content/prefs/prefsui.js"/>
  27.  
  28.   <prefpane id="antBarPrefsPane" label="&antBarPrefsPane.label;" flex="1">
  29.     <preferences>
  30.       <preference id="antBarPrefsFlvDir" name="extensions.anttoolbar.flvdir" type="string"/>
  31.       <preference id="antBarPrefsNotification" name="extensions.anttoolbar.notification" type="bool"/>
  32.       <preference id="antBarPrefsRankMode" name="extensions.anttoolbar.rankmode" type="bool"/>
  33.       <preference id="antBarPrefsDownloadStats" name="extensions.anttoolbar.videorepports" type="bool"/>
  34.       <preference id="antBarPrefsMode" name="extensions.anttoolbar.mode" type="string"/>
  35.     </preferences>
  36.  
  37.     <vbox>
  38.       <stringbundleset id="strbundles">
  39.         <stringbundle id="langstr" src="chrome://antbar/locale/antbar.properties"/>
  40.       </stringbundleset>
  41.  
  42.       <label id="antBarPrefsFlvDirLabel" control="AntPrefsFlvDir" value="&antBarPrefsFlvDirLabel.value;"/>
  43.       <hbox align="center" flex="1">
  44.         <textbox id="AntPrefsFlvDir" preference="antBarPrefsFlvDir" flex="1"/> 
  45.         <button id="antBarPrefsFlvDirButton" label="&antBarPrefsFlvDirButton.label;" oncommand="AntPrefs.selectFlvDir();" />
  46.       </hbox>
  47.  
  48.       <hbox align="center" flex="1">
  49.         <checkbox id="antBarPrefsNotificationCheckBox" label="&antBarPrefsNotificationCheckBox.label;" preference="antBarPrefsNotification" checked="true"/>
  50.       </hbox>
  51.  
  52.       <hbox align="center" flex="1">
  53.         <checkbox id="antBarPrefsRankModeCheckBox" label="&antBarPrefsRankModeCheckBox.label;" preference="antBarPrefsRankMode" checked="false"/>
  54.       </hbox>
  55.  
  56.       <hbox align="center" flex="1">
  57.         <checkbox id="antBarPrefsSendDownloadStatsCheckBox"
  58.                   label="&antBarPrefsSendDownloadStatsCheckBox.label;"
  59.                   preference="antBarPrefsDownloadStats" checked="false"/>
  60.       </hbox>
  61.  
  62.       <hbox align="center">
  63.     <label value="&antBarPrefsChoseMode;" maxwidth="150px"/>
  64.     <menulist id="ant-prefs-mode-menu">
  65.           <menupopup>
  66.             <menuitem id="ant-prefs-mode-statusbar" preference="antBarPrefsMode" label="&antBarPrefsStatusBar;" value="statusbar"/>
  67.             <menuitem id="ant-prefs-mode-toolbar"   preference="antBarPrefsMode" label="&antBarPrefsToolbar;"   value="toolbar"/>
  68.           </menupopup>
  69.     </menulist>
  70.       </hbox>
  71.  
  72.     </vbox>
  73.  
  74.     <script type="application/x-javascript">
  75.       AntPrefsUi.init(document);
  76.     </script>
  77.  
  78.   </prefpane>
  79.  
  80. </prefwindow>
  81.